export default [
    {id:'createTime',label:'时间',value:'',required:true,sortable:true,editorType:'input',show:true},
    {id:'createUserName',label:'操作账号',value:'',required:true,sortable:true,editorType:'input',show:true},
    {id:'state',label:'购买状态',value:'',required:true,sortable:true,editorType:'selectDrop',show:true,cellFun:(rowRecord,itemd)=>{
            if((rowRecord[itemd]+"")==="0"){
                return '失败'
            }else{
                return '成功';
            }
        }},
]

let _getCloneCols=function (cols) {
    let newCols=[];
    cols.forEach((itemObj)=>{
        newCols.push({...itemObj});
    })
    return newCols;
}

export {_getCloneCols};